sum of subsets problem using backtracking